package com.xyoto.community.mapper.main;

import com.xyoto.community.entity.main.StudentAuthentication;
import org.apache.ibatis.annotations.Mapper;

/**
 * @Author lin
 * @Date 2021/10/20 22:41
 */
@Mapper
public interface StudentAuthenticationMapper {

    /**
     * 学生认证
     * @param studentAuthentication 认证对象
     * @return
     */
    Integer saveStudentAuthentication(StudentAuthentication studentAuthentication);

    /**
     * 获取学生认证状态
     * @param userId
     * @return
     */
    Short getStatus(Integer userId);

}
